SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 35871: Using DIST=BYOBS and a RANDOM _RESIDUAL_; statement might result in a read-access violation

DetailsAboutRate It

In PROC GLIMMIX if you specify a RANDOM _RESIDUAL_ statement to a G-side model with DIST=BYOBS, then a read-access violation might result. For example with a model like,

  proc glimmix data=test;
    class id2 id1 dist;
   model response(event="1") = dist dist*x dist*mm /noint s 
                                           dist=byobs(dist);
   random  int/ subject=id2;
   random  int / subject=id1(id2);
   random _residual_;
   run;

then the following error message will appear:

ERROR:  Read Access Violation In Task [ GLIMMIX ]
Exception occurred at (41485817)
Task Traceback
Address   Frame     (DBGHELP API Version 4.0 rev 5)
41485817  076BF378  sasglimm:mcn_main+0x14817
41483C47  076BF3CC  sasglimm:mcn_main+0x12C47
414FAFA6  076BF41C  sasglimm:mcn_main+0x89FA6
41471453  076BFF8C  sasglimm:mcn_main+0x453
015927C8  076BFFA0  sashost:Main+0xC204
0167D038  076BFFB4  sashost:Main+0xF6A74
7C80B713  076BFFEC  kernel32:GetModuleFileNameA+0x1B4

If you remove the RANDOM _RESIDUAL_ statement then PROC GLIMMIX returns incorrect results in the following situation:

  • DIST=BYOBS
  • Not all component distributions have scale parameters
  • Only G-side random effects

One circumvention to this problem is to use METHOD=LAPLACE or QUAD.

A hot fix is being planned for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATMicrosoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
z/OS9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP49.2 TS2M2
Microsoft Windows XP Professional9.1 TS1M3 SP49.2 TS2M2
Windows Vista9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled AIX9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled HP-UX9.1 TS1M3 SP49.2 TS2M2
64-bit Enabled Solaris9.1 TS1M3 SP49.2 TS2M2
HP-UX IPF9.1 TS1M3 SP49.2 TS2M2
Linux9.1 TS1M3 SP49.2 TS2M2
Linux on Itanium9.1 TS1M3 SP49.2 TS2M2
OpenVMS Alpha9.1 TS1M3 SP49.2 TS2M2
Solaris for x649.1 TS1M3 SP49.2 TS2M2
Tru64 UNIX9.1 TS1M3 SP49.2 TS2M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.